import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
import * as Elicon from '@element-plus/icons-vue'

const app = createApp(App)
Object.keys(Elicon).forEach((key)=> {
    app.component(key, Elicon[key])
})

app.use(router)
app.use(ElementPlus)
app.mount('#app')